package com.xintai.hetong.domain;

import java.math.BigDecimal;

import com.xintai.common.core.domain.entity.SysDictData;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xintai.common.annotation.Excel;
import com.xintai.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 erp_hetong_item
 *
 * @author xintai
 * @date 2021-02-03
 */
public class ErpHetongItem extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** ID */
    private Long htId;

    /** 合同主键 */
    @Excel(name = "合同主键")
    private Long htParentid;

    /** 名称 */
    @Excel(name = "名称", targetAttr = "dictLabel", type = Excel.Type.EXPORT)
    private SysDictData sysDictData;

    /** 货品名称ID */
    private Integer dictCode;

    /** 规格 */
    @Excel(name = "规格")
    private String htModel;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal htPrice;

    /** 吨位 */
    @Excel(name = "吨位")
    private BigDecimal htWeight;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal htMoney;

    public Long getHtId() {
        return htId;
    }

    public void setHtId(Long htId) {
        this.htId = htId;
    }

    public Long getHtParentid() {
        return htParentid;
    }

    public void setHtParentid(Long htParentid) {
        this.htParentid = htParentid;
    }

    public SysDictData getSysDictData() {
        return sysDictData;
    }

    public void setSysDictData(SysDictData sysDictData) {
        this.sysDictData = sysDictData;
    }

    public Integer getDictCode() {
        return dictCode;
    }

    public void setDictCode(Integer dictCode) {
        this.dictCode = dictCode;
    }

    public String getHtModel() {
        return htModel;
    }

    public void setHtModel(String htModel) {
        this.htModel = htModel;
    }

    public BigDecimal getHtPrice() {
        return htPrice;
    }

    public void setHtPrice(BigDecimal htPrice) {
        this.htPrice = htPrice;
    }

    public BigDecimal getHtWeight() {
        return htWeight;
    }

    public void setHtWeight(BigDecimal htWeight) {
        this.htWeight = htWeight;
    }

    public BigDecimal getHtMoney() {
        return htMoney;
    }

    public void setHtMoney(BigDecimal htMoney) {
        this.htMoney = htMoney;
    }

    @Override
    public String toString() {
        return "ErpHetongItem{" +
                "htId=" + htId +
                ", htParentid='" + htParentid + '\'' +
                ", sysDictData=" + sysDictData +
                ", dictCode=" + dictCode +
                ", htModel='" + htModel + '\'' +
                ", htPrice=" + htPrice +
                ", htWeight=" + htWeight +
                ", htMoney=" + htMoney +
                '}';
    }
}
